package com.itcast.finaldemo.Demo02;

/*
主类
*/
public class Computer {
    public void powerOn() {
        System.out.println("电脑开机了！");
    }

    public void powerOff() {
        System.out.println("电脑关机了！");
    }

    public void useUSB(USB usb) {
        usb.connect();
        usb.disconnect();
        usb.connect();
    }
}
